/**
 * @author : cww
 * @date : 2021/1/4 23:03
 */
public abstract class Coffee {
    private float price;
    private String name;
    public Coffee(){

    }

    protected float getPrice() {
        return price;
    }

    protected void setPrice(float price) {
        this.price = price;
    }

    protected String getName() {
        return name;
    }

    protected void setName(String name) {
        this.name = name;
    }

    public abstract float getCost();
    public abstract String getDes();
}
